efa vcenter list

Lists the VMware vCenter servers registered as tenants.

Syntax

efa vcenter list [ --host string ]

Parameters

--host string
IP address or hostname of the VMware vCenter Server to connect to.

When the host parameter is supplied, the command lists the ESXi hosts for that VMware vCenter Server.

Examples

This example lists a VMware vCenter Server that has just been added as a tenant with this XCO instance.

$ efa vcenter list
+--------------+-----------------------+---------+----------------------------+-------------------+------------+----------+
| Host Name    | Name                  | Version | Discovery Status           | Datacenters Count | Host Count | VM Count |
+--------------+-----------------------+---------+----------------------------+-------------------+------------+----------+
| 10.24.85.111 | VMware vCenter Server | 6.7.0   | Pending Complete Discovery | 1                 | 1          | 0        |
+--------------+-----------------------+---------+----------------------------+-------------------+------------+----------+
                

This example lists a VMware vCenter Server with its status updated to this XCO instance.

$ efa vcenter list
+--------------+-----------------------+---------+------------------+-------------------+------------+----------+
| Host Name    | Name                  | Version | Discovery Status | Datacenters Count | Host Count | VM Count |
+--------------+-----------------------+---------+------------------+-------------------+------------+----------+
| 10.24.85.111 | VMware vCenter Server | 6.7.0   | Update Completed | 5                 | 4          | 13       |
+--------------+-----------------------+---------+------------------+-------------------+------------+----------+
                

This example lists the ESXi devices managed by the VMware vCenter Server with IP address 10.24.85.111.

$ efa vcenter list --host 10.24.85.111